xen init script: silently exit status 0 if not running under xen
authorIan Jackson <ian.jackson@citrix.com>
Thu, 7 Feb 2019 15:54:49 +0000 (15:54 +0000)
committerHans van Kranenburg <hans@knorrie.org>
Wed, 13 Feb 2019 00:07:30 +0000 (01:07 +0100)
commit30c9a3c54332f34c515143b261514a04e1e1d13c
tree199c36617e754751b9c9fc4ef9f58671efaf46ad
parent386620fdee3e34eef53e08e09fb9da363cdc210a
xen init script: silently exit status 0 if not running under xen

This script should not complain at all if we are not running under
Xen.  Check this right at the start.

This will enable improvements to the following code, which will no
longer have to deal with the `not running under Xen' case.

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
Acked-by: Hans van Kranenburg <hans@knorrie.org>
debian/xen-utils-common.xen.init